{extend name="public/base" /}
{block name="css"}
<!--    css-->
<link href="/static/css/news.css?r=1" rel="stylesheet">
{/block}
{block name="js"}
<!--layui js-->
<script src="/static/framework/layui/layui.js"></script>
<!-- index.js -->
<script src="/static/js/news.js?r=1"></script>
{/block}
{block name="main"}

<!-- banner start -->
<div class="container-fluid flex-row">
    <div class="swiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img src="/static/images/banner08.jpg?r=1" class="banner_size">
            </div>
        </div>
    </div>
</div>
<!-- banner end -->

<!-- 面包屑 start -->
<div class="container-fluid bottomborder">
    <div class="container breadcrumb">
        <span class="layui-breadcrumb" lay-separator=">">
          <a href=""><img src="/static/images/01.png"/> &nbsp;您现在的位置：</a>
          <a href="">首页</a>
          <a><cite>{$data.title}</cite></a>
        </span>
    </div>
</div>
<!-- 面包屑 end -->

<!-- 资讯列表 左边资讯列表 右边热资讯 start -->
<div class="container-fluid">
    <div class="container news news-detail">
        <!-- 左边资讯列表 -->
        <div class="news-list-left">
            <!-- 顶部 一个标题 一个时间 来源 -->
            <div class="news-detail-top">
                <h1>{$data.title}</h1>
                <div class="news-detail-time">
                    <!-- 如果有来源显示来源 -->
                    {if $data.sources}
                    <span>来源：{$data.sources}</span>
                    {/if}
                    <span>发布时间：{$data.show_time|date='Y-m-d' }</span>
                </div>
            </div>
            <!-- 内容 -->
            <div class="news-detail-content">
               {$data.content | raw}
            </div>
        </div>
        <!-- 左边资讯列表 end -->
        <!-- 右边热资讯 -->
        {include file="news/right"}
        <!-- 右边热资讯 end -->
    </div>
</div>




{/block}